gusucode.com > LTE基带收发仿真系统matlab源码程序 > LTE baseband simulation/savedata.m

    function savedata(IMCS,SNR,BLER,th,BLERUE1,thUE1)
% 数据保存 将IMCS编号 SNR BLER th BLERUE1 thUE1保存成.mat格式
% 
%  Author:		程式小组(徐萌 张妙 张晓庆)
%  Date:		2010-07-11
%  ==========================================================
switch IMCS
    case 0
        save bler_and_th_mcs0 SNR BLER th BLERUE1 thUE1
    case 1
        save bler_and_th_mcs1  SNR BLER th BLERUE1 thUE1
    case 2
        save bler_and_th_mcs2  SNR BLER th BLERUE1 thUE1
    case 3
        save bler_and_th_mcs3  SNR BLER th BLERUE1 thUE1
    case 4
        save bler_and_th_mcs4  SNR BLER th BLERUE1 thUE1
    case 5
        save bler_and_th_mcs5  SNR BLER th BLERUE1 thUE1
    case 6
        save bler_and_th_mcs6  SNR BLER th BLERUE1 thUE1
    case 7
        save bler_and_th_mcs7  SNR BLER th BLERUE1 thUE1
    case 8
        save bler_and_th_mcs8  SNR BLER th BLERUE1 thUE1
    case 9
        save bler_and_th_mcs9  SNR BLER th BLERUE1 thUE1
    case 10
        save bler_and_th_mcs10  SNR BLER th BLERUE1 thUE1
    case 11
        save bler_and_th_mcs11  SNR BLER th BLERUE1 thUE1
    case 12
        save bler_and_th_mcs12  SNR BLER th BLERUE1 thUE1
    case 13
        save bler_and_th_mcs13  SNR BLER th BLERUE1 thUE1
    case 14
        save bler_and_th_mcs14  SNR BLER th BLERUE1 thUE1
    case 15
        save bler_and_th_mcs15  SNR BLER th BLERUE1 thUE1
    case 16
        save bler_and_th_mcs16  SNR BLER th BLERUE1 thUE1
    case 17
        save bler_and_th_mcs17  SNR BLER th BLERUE1 thUE1
    case 18
        save bler_and_th_mcs18  SNR BLER th BLERUE1 thUE1
    case 19
        save bler_and_th_mcs19  SNR BLER th BLERUE1 thUE1
    case 20
        save bler_and_th_mcs20  SNR BLER th BLERUE1 thUE1
    case 21
        save bler_and_th_mcs21  SNR BLER th BLERUE1 thUE1
    case 22
        save bler_and_th_mcs22  SNR BLER th BLERUE1 thUE1
    case 23
        save bler_and_th_mcs23  SNR BLER th BLERUE1 thUE1
    case 24
        save bler_and_th_mcs24  SNR BLER th BLERUE1 thUE1
    case 25
        save bler_and_th_mcs25  SNR BLER th BLERUE1 thUE1
    case 26
        save bler_and_th_mcs26  SNR BLER th BLERUE1 thUE1
    case 27
        save bler_and_th_mcs27  SNR BLER th BLERUE1 thUE1
    case 28
        save bler_and_th_mcs28  SNR BLER th BLERUE1 thUE1
        
end